package com.xayy.health.mgt.model.vo;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author zhangxa
 */
@NoArgsConstructor
@Data
public class SingleParameterDiagnosisVo {
    @JSONField(name = "missiongraph")
    private List<MissionGraphDTO> missionGraph;
    @JSONField(name = "restdetectresult")
    private List<RestDetectResultDTO> restDetectResult;
    @JSONField(name = "restgraph")
    private List<RestGraphDTO> restGraph;
    @JSONField(name = "scatter")
    private List<ScatterDTO> scatter;
    @JSONField(name = "missiondetectresult")
    private List<MissionDetectResultDTO> missionDetectResult;
    @JSONField(name = "resttrainresult")
    private List<RestTrainResultDTO> restTrainResult;
    @JSONField(name = "missiontrainresult")
    private List<MissionTrainResultDTO> missionTrainResult;

    @JSONField(name = "up_Mission")
    private List<UpMissionDTO> upMissionDTOList;

    @JSONField(name = "up_Rest")
    private List<UpRestDTO> upRestDTOList;

    @JSONField(name = "train_mission_up")
    private List<downMissionDTO> trainMissionUp;

    @JSONField(name = "train_mission_down")
    private List<downMissionDTO> trainMissionDown;

    @JSONField(name = "train_rest_up")
    private List<downMissionDTO> trainRestUp;

    @JSONField(name = "train_rest_down")
    private List<downMissionDTO> trainRestDown;

    @JSONField(name = "detect_mission_up")
    private List<downMissionDTO> detectMissionUp;

    @JSONField(name = "detect_mission_down")
    private List<downMissionDTO> detectMissionDown;

    @JSONField(name = "detect_rest_up")
    private List<downMissionDTO> detectRestUp;

    @JSONField(name = "detect_rest_down")
    private List<downMissionDTO> detectRestDown;



    @JSONField(name = "down_Mission")
    private List<downMissionDTO> downMissionDTOList;

    @JSONField(name = "down_Rest")
    private List<downRestDTO> downRestDTOList;

    @JSONField(name = "scatter_rest")
    private List<ScatterDTO> scatterRest;

    @JSONField(name = "scatter_mission")
    private List<ScatterDTO> scatterMission;

    @JSONField(name = "msg")
    private String msg;
    @NoArgsConstructor
    @Data
    public static class downRestDTO {
        @JSONField(name = "time")
        private String time;
        @JSONField(name = "value")
        private Double value;
    }

    @NoArgsConstructor
    @Data
    public static class downMissionDTO {
        @JSONField(name = "time")
        private String time;
        @JSONField(name = "value")
        private Double value;
    }

    @NoArgsConstructor
    @Data
    public static class UpRestDTO {
        @JSONField(name = "time")
        private String time;
        @JSONField(name = "value")
        private Double value;
    }

    @NoArgsConstructor
    @Data
    public static class UpMissionDTO {
        @JSONField(name = "time")
        private String time;
        @JSONField(name = "value")
        private Double value;
    }


    @NoArgsConstructor
    @Data
    public static class MissionGraphDTO {
        @JSONField(name = "time")
        private String time;
        @JSONField(name = "value")
        private Double value;
    }

    @NoArgsConstructor
    @Data
    public static class RestDetectResultDTO {
        @JSONField(name = "name")
        private String name;
        @JSONField(name = "value")
        private Double value;
    }

    @NoArgsConstructor
    @Data
    public static class RestGraphDTO {
        @JSONField(name = "time")
        private String time;
        @JSONField(name = "value")
        private Double value;
    }

    @NoArgsConstructor
    @Data
    public static class ScatterDTO {
        @JSONField(name = "time")
        private String time;
        @JSONField(name = "value")
        private Double value;
    }

    @NoArgsConstructor
    @Data
    public static class MissionDetectResultDTO {
        @JSONField(name = "name")
        private String name;
        @JSONField(name = "value")
        private Double value;
    }

    @NoArgsConstructor
    @Data
    public static class RestTrainResultDTO {
        @JSONField(name = "name")
        private String name;
        @JSONField(name = "value")
        private Double value;
    }

    @NoArgsConstructor
    @Data
    public static class MissionTrainResultDTO {
        @JSONField(name = "name")
        private String name;
        @JSONField(name = "value")
        private Double value;
    }
}
